/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.uc.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 
 * 
 * @author zsp
 * @date 2020-8-19
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveRoleRequest {
	
	/**
	 * 角色Id
	 */
	
	private Long roleId;
	/**
	 * 角色编码
	 */
	@NotBlank
	private String roleCode;
	/**
	 * 名称
	 */
	@NotBlank
	private String name;

	/**
	 * 资源Id集合
	 */
	private List<Long> resourceIdList;

}
